<?php
 
my_component_load('testing' , false);
my_component_load('paging' , false);  
my_component_load('xl_builder' , false);  
my_component_load('list_kalender' , false);    
my_component_load('pr_validasi_pajak' );
$task = isset($_GET['task']) ? $_GET['task'] : ""; 
$karyawan_id= isset( $_GET['karyawan_id'] ) ? $_GET['karyawan_id']:  0;
$komponen_id= isset( $_GET['komponen_id'] ) ? $_GET['komponen_id']:  0;
$periode_id = isset($_GET['periode_id']) ? $_GET['periode_id'] : 0 ; 
$t_id= isset( $_GET['t_id'] ) ? $_GET['t_id']:  0;

$modulname = "Penggajian _BN_   Konfirmasi hasil proses gaji";
if($_SERVER["REQUEST_METHOD"] == "POST" ){

}else{
	if($task =='excel'){
		header("Content-Type: application/xls");
		header("Content-Disposition: attachment;filename=kalkulasi_pajak.xls");
		echo load_excel_pajak($periode_id);
		exit;
	
	}elseif($task =='detail'){
		$pagename = $modulname." _BN_ Detail";
		load_facebox_script();
		$view =  list_validasi_pajak_detail($karyawan_id); 
	}else{
		$pagename = $modulname ;
		load_facebox_script();	
		$view = list_pajak_karyawan($periode_id);
	}
}	
generate_my_web($view, $pagename );

?>

